Skip to content

Don't need to sort Array. Slows down computation#16

Open
Reza88 wants to merge 2 commits intochihungyu1116:masterfrom
Reza88:master
Open

Don't need to sort Array. Slows down computation#16
Reza88 wants to merge 2 commits intochihungyu1116:masterfrom
Reza88:master

Conversation

@Reza88
Copy link

@Reza88 Reza88 commented Aug 4, 2017

No description provided.

Copy link
Contributor

@ignacio-chiazzo ignacio-chiazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree with the change. Use 2 spaces in lieu of a tab.

}
} else if(dict[numb + k] !== undefined){
count++;
//nums.sort(function(a,b){ return a - b });
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

delete this line

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants